package cn.ulc.socket.admin.service.coupon;

import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.coupon.CouponDTO;
import cn.ulc.socket.admin.model.dto.coupon.CouponListDTO;
import cn.ulc.socket.admin.model.param.coupon.CouponSaveParam;
import cn.ulc.store.entity.Coupon;

public interface CouponServ {

    CouponListDTO findListPage(String title,  String progressStatus, PaginationParam param);

    Coupon save(CouponSaveParam param);

    Coupon update(Long id,CouponSaveParam param);

    CouponDTO findDetail(Long id);

    Boolean changeStatus(Long id,AvailableStatus status);

    Boolean deleted(Long id);

}
